package pl.net.csrv.dao;

import pl.net.csrv.beans.User;

/**
 * @author Maciek
 * 
 */
public interface UserDao {
	/**
	 * @param user
	 */
	public void save(User user);

	/**
	 * @param id
	 * @return
	 */
	public User findUserById(Long id);

	/**
	 * @param user
	 */
	public void remove(User user);
	
	/**
	 * @param user
	 */
	public User findUserByLogin(String login);
}
